/* 
 * File:   nWindow.h
 * Author: rudygodoy
 *
 * Created on November 15, 2010, 8:17 PM
 */

#ifndef NWINDOW_H
#define	NWINDOW_H

// Ncurses
#include <PDCurses/curses.h>
#include <string>

#define M_WIDTH 35
#define M_HEIGHT 12
#define WIDTH 80
#define HEIGHT 24

using namespace std;

class nWindow {
private:
    int startx;
    int starty;
    string title;
    int type; // 1: menú, 2: lista, 3: blanco
    string options;

public:
    nWindow(int _startx=0, int _starty=0, string _title="SmallStore (c) - 2010 ", int _type=1, string _options="");
    nWindow(const nWindow& orig);
    virtual ~nWindow();
    void print_menu(WINDOW* _w, string _options, int _highlight);
};

#endif
